#打开并读取f.txt文件，打印文件里的内容，encoding = utf-8
with open('f.txt','r',encoding='utf-8') as f:
    print(f.read())

#二进制形式打开f.txt文件
with open('f.txt','rb') as f:
    print(f.read)
    






























































































